/**
 * @version 3 11 February 2013
 * @author Myhaylo Kotsyuruba
 */

public class Answer {
    private String text;
    private boolean correct;
    
    public Answer(String text, boolean correct) {
        this.text = text;
        this.correct = correct;
    }
    
    @Override
    public Answer clone() {
        return new Answer(text, correct);
    }

    @Override
    public String toString() {
        return text;
    }

    public boolean isCorrect() {
        return correct;
    }
}
